package com.mmall.service;

import com.mmall.common.ServerResponse;
import org.springframework.web.multipart.MultipartFile;

/**
 * Created by geely
 */
public interface IFileService {

    ServerResponse upload(MultipartFile file, String path, String oldFileName, String fileFolder);

    //客户端方法
    ServerResponse uploadFile(MultipartFile file, String path, String fileFolder);
}
